Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(objc): Workaround for Swift/ObjC template issues #1494

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Oct 8, 2024

Platforms affected

iOS

Motivation and Context

Hopefully closes GH-1487.

Description

This uses "non-standard" Swift annotations, but they've been supported by the past few versions of Xcode and are in the process of being standardized. Most importantly, they work for what we need.

Testing

Ran unit tests.
Ran mobilespec tests.

Checklist

  • I've run the tests to see all new and existing tests pass
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)

This uses "non-standard" Swift annotations, but they've been supported
by the past few versions of Xcode and are in the process of being
standardized. Most importantly, they work for what we need.

Closes apacheGH-1487.
@dpogue dpogue added this to the 8.0.0 milestone Oct 8, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.89%. Comparing base (a8f9c57) to head (68bc200).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1494   +/-   ##
=======================================
  Coverage   80.89%   80.89%           
=======================================
  Files          16       16           
  Lines        1842     1842           
=======================================
  Hits         1490     1490           
  Misses        352      352           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Tested manually by applying these changes to a project that was having issues with the #import "App-Swift.h". Resolved the issue.

@dpogue dpogue merged commit ecac294 into apache:master Oct 8, 2024
10 checks passed
@dpogue dpogue deleted the objc-stubs branch October 8, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't get push token on 8.0.0-dev
3 participants